﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace JuCloudy.Framework.Interface
{
    public interface IStructure
    {
        void InitializeXap(Uri uri, String AssemlyName, String MainPageName, Grid ui,EventHandler OnCompleted);

        void InitializeXap(Uri uri, String AssemlyName, String MainPageName, Grid ui);

        void InitializeXap(int AppId, Grid ui, TextBlock AppName, TextBlock AppIntro);

        void InitializeXap(JuCloudy.Data.Entity.SysAppInfo AppInfo, JuCloudy.Data.Entity.SysAppModule AppModule, Grid ui);

        Uri CompleteUri(String url);

        void ShowChildDialog(UIElement ui,String header);

        void ShowChildDialog(UIElement ui,String header, Double Width, Double Height);

        void ShowMessage(String Title, String Content, JuCloudy.Data.Entity.MessageType MsgType);

        void CloseChildDialog();

        void ShowLoading();

        void CloseLoading();

        void InitSystemVariable();

        void ShowCustomRoot(JuCloudy.Data.Entity.SysAppInfo AppInfo, JuCloudy.Data.Entity.SysAppModule AppModule);
        void HideCustomRoot();

    }
}
